//！打造rootReducer 存放项目里的所有数据 整合项目里的所有reducer，项目中的最大reducer
import { combineReducers } from "redux";
// const rootReducer = combineReducers({
//     //放的就是其他的reducer  数据分块以后的其他数据
// })
//优化写法
import {reducer as todoStore}  from '../pages/todos/reducers.js'
import {reducer as userStore}  from '../pages/user/reducers.js'
export default combineReducers({
    //放的就是其他的reducer  数据分块以后的其他数据
    todoStore,
    userStore
})